DataGridSetColumnAlignment
Sort the text of the DataGrid object.
void @DataGridSetColumnAlignment(string class_name, string column_name,
int alignment);
Parameters
string class_name: Class name of DataGrid object
string column_name: Name of the column
int alignment: Sort method (NotSet = 0,
TopLeft = 1, TopCenter = 2, TopRight = 4, MiddleLeft = 16, MiddleCenter = 32,
MiddleRight = 64, BottomLeft = 256, BottomCenter = 512, BottomRight = 1024)
Return Value
None
Example
@DataGridSetColumnAlignment("DataGrid1", "NAME", 16);
Description: Sort the text of the 'Name' column of the DataGrid object
'DataGrid1' in a MiddleLeft method.
Version Information
Supported Version:
10.3.5
Related Helps
@DataGridAddButtonColumn()
@DataGridAddCheckBoxColumn()
@DataGridAddComboBoxColumn()
@DataGridAddRow()
@DataGridAddTextBoxColumn()
@DataGridClearColumn()
@DataGridComboBoxColumnItemAdd()
@DataGridDeleteRow()
@DataGridGetCellData()
@DataGridGetCellSel()
@DataGridGetColumnName()
@DataGridGetCurSel()
@DataGridGetRowCount()
@DataGridGetRowData()
@DataGridInsertRow()
@DataGridReLoad()
@DataGridSetCellBackColor()
@DataGridSetCellData()
@DataGridSetCellTextColor()
@DataGridSetColumnAlignment()
@DataGridSetColumnHeadersHeight()
@DataGridSetColumnIndex()
@DataGridSetColumnReadOnly()
@DataGridSetColumnText()
@DataGridSetColumnVisible()
@DataGridSetColumnWidth()
@DataGridSetCurSel()
@DataGridSetDataTable()
@DataGridSetDsn()
@DataGridSetRowData()
@DataGridSetRowHeight()
@DataGridSetSelect()